<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="layout" content="main" />
  <g:set var="entityName" value="${message(code: 'inscricao.label', default: 'Inscricao')}" />
  <title>Dados da Incri&ccedil;&atilde;o on-line</title>
</head>
<body>
<g:isLoggedIn>
  <div class="body">
    <h1>Detalhes da sua inscri&ccedil;&atilde;o</h1>
    <g:if test="${flash.message}">
      <div class="message">${flash.message}</div>
    </g:if>
    <p><strong>N&ordm; de incrição: </strong>${fieldValue(bean: inscricaoInstance, field: "inscricao")}</p>
    <p><strong>Situação do seu processo: </strong>${fieldValue(bean: inscricaoInstance, field: "status")}</p>
    <div class="dialog printable">
      <h3>Dados do Estabelecimento de Sa&uacute;de</h3>

      <p><strong>N&ordm; de CNPJ:</strong><br> ${fieldValue(bean: inscricaoInstance, field: "cnpj")}</p>


      <p><strong>C&oacute;digo CNES: </strong><br> ${fieldValue(bean: inscricaoInstance, field: "cnes")}</p>


      <p><strong>Raz&atilde;o social:</strong><br> ${fieldValue(bean: inscricaoInstance, field: "razaoSocial")}</p>

      <p>
        <strong>Endere&ccedil;o do estabelecimento de sa&uacute;de:</strong> <br> ${fieldValue(bean: inscricaoInstance, field: "endereco")}</p>

      <p>
        <strong>Dirigente do estabelecimento de sa&uacute;de: </strong>
        <br>

${fieldValue(bean: inscricaoInstance, field: "dirigente")}</p>
      <p>
        <strong>Respons&aacute;vel pelo Preenchimento da Ficha: </strong>
        <br>

${fieldValue(bean: inscricaoInstance, field: "responsavel")}</p>
      <p>

        <strong>Modalidade de atendimento: </strong><br>${fieldValue(bean: inscricaoInstance, field: "modalidadeAtendimento")}</p>

      <p><strong>Telefone para contato:</strong><br> ${fieldValue(bean: inscricaoInstance, field: "telefone")}</p>

      <h3>Dados do usu&aacute;rio administrador</h3>
      <p>
        <strong>Nome completo: </strong><br>${inscricaoInstance?.usuario?.userRealName}      </p>
      <hr>
      <div style="width: 120px;margin: 10px;"><input type="button" class="cmd green save" value="Imprimir ficha" onclick="print();" /></div>
       <hr>
      <p>Secretaria Municipal de Saúde de Fortaleza </p>
    </div><!-- end .dialog -->
  </div><!-- end .body -->
</g:isLoggedIn>
<g:isNotLoggedIn>Não Permitido</g:isNotLoggedIn>
</body>
</html>
